package com.openatc.model.model;

import lombok.Data;

/**
 * @author ：panleilei
 * @description
 * @modified By：
 * @version:
 * @date ：Created in 2024/6/28 14:10
 */
@Data
public class SystemEvent {
    public static final int TYPE_SYSTEM = 0; // 系统通知类型
    // 1 特别重大 2 重大 3 较大 4 一般，0级为后台消息不在消息中心或弹窗显示
    public static final int EVENT_LEVEL_LOW = 0; // 不显示
    public static final int EVENT_LEVEL_IMMEDIATE = 1; // 特别重大
    public static final int EVENT_LEVEL_URGENT = 2; // 重大
    public static final int EVENT_LEVEL_HIGH = 3; // 较大
    public static final int EVENT_LEVEL_NORMAL = 4; // 一般
    private int type;
    private int level;
    private String createtime; // "2022-04-25 12:25:50"
    private String source;
    private String content;
    private SystemEventDetails details;
}
